const express = require('express');


const getAllDataRouter = express.Router()

const getGoodsAllData = require('../models/js/getGoodsAllData')


//详情页面 
getAllDataRouter.get('/shoppingCarData', function(req, res) {

    getGoodsAllData.getGoodsAllData(function(response) {
        // console.log(response);    
        res.send(response)

    })
})
module.exports = getAllDataRouter